package io.jplus.admin.service.impl;

import com.jfinal.kit.Ret;
import com.jfinal.plugin.activerecord.Page;
import io.jboot.aop.annotation.Bean;
import io.jboot.core.rpc.annotation.JbootrpcService;
import io.jboot.db.model.Column;
import io.jboot.db.model.Columns;
import io.jboot.service.JbootServiceBase;
import io.jplus.admin.model.User;
import io.jplus.admin.service.UserService;

import javax.inject.Singleton;
import java.util.List;

@Bean
@Singleton
@JbootrpcService
public class UserServiceImpl extends JbootServiceBase<User> implements UserService {

    @Override
    public Ret doLogin(String account, String password) {
        return null;
    }

    @Override
    public User findByAccount(String account) {
        return null;
    }

    @Override
    public Page<User> paginateByColumns(int page, int size, List<Column> columns, String orderBy) {
        return null;
    }

    @Override
    public List<User> findByColumns(Columns columns) {
        return null;
    }

    @Override
    public List<User> findListByColumns(List<Column> columns) {
        return null;
    }
}